<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>选项卡面板</title>
		
		<!-- 导入 jquery 核心类库 -->
		<script type="text/javascript" src="../js/jquery-1.8.3.js"></script>
		 <!-- 导入 easyui 类库 -->
		<script type="text/javascript" src="../js/easyui/jquery.easyui.min.js"></script>
		<!--导入国际化信息文件-->
		<script src="../js/easyui/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
		<!-- 导入默认主题 CSS 文件-->
		<link id="easyuiTheme" rel="stylesheet" type="text/css" href="../js/easyui/themes/default/easyui.css">
		<!-- 导入图标 CSS 文件-->
		<link rel="stylesheet" type="text/css" href="../js/easyui/themes/icon.css">
		
		<script type="text/javascript">
			$(function(){
				$("#czbkLink").click(function(){
					//添加一个新的选项卡
					$("#mytabs").tabs('add',{
						title:'传智播客',
						content:'专注于IT培训'
					});
				});
			});
		</script>
		
	</head>
	
	<body class="easyui-layout">
		<div data-options="region:'north',title:'黑马标题'" style="height: 100px;">北部区域</div>
		<div data-options="region:'west',title:'菜单导航'" style="width: 200px;">
			<div class="easyui-accordion" data-options="fit:'true'">
				<div title="基础菜单">
					<a href="javascript:void(0)" id="czbkLink">传智播客</a>
				</div>
				<div title="系统菜单">面板2</div>
			</div>
		</div>
		<div data-options="region:'center'">
			<!--选项卡面板-->
			<div id="mytabs" class="easyui-tabs" data-options="fit:true">
				<div data-options="title:'选项卡一',closable:true">
					选项卡面板一
				</div>
				<div data-options="title:'选项卡二'">
					选项卡面板二
				</div>
			</div>
		</div>
		<div data-options="region:'east'" style="width: 100px;">东部区域</div>
		<div data-options="region:'south'" style="height: 100px;">南部区域</div>
	</body>
</html>
